body ,html{
    padding: 0;
    margin: 0;
    background-color: #e4aa2f;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}
.login{
    display: flex;
    height: 100vh;
    align-items: center;
}
.login .imgBg{
    flex: 1;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.imgBg img{
    width: 700px;
    height: 395.34px;
}
.loginForm .welcome {
    font-size: 30px;
    color: #fff;
    font-weight: 600;
    padding-bottom: 20px;
}
.login .loginForm{
    flex: 1;
}
.form_item{
    padding-bottom: 14px;
}
.form_item input{
    font-size: 18px;
    background-color: #f0f5f7;
    padding: 4px 6px;
    margin-left: 10px;
}
.btn .login_btn{
    padding: 6px 8px;
    margin-right: 48px;
    border-radius: 15px;
    background-color: #a89736;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    width: 100px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 0 2px 4px #8f854c ;
}
.btn{
    padding-top: 10px;
    margin-bottom: 80px;
    display: flex;
}
.btn .login_btn:active{
    background-color: #8b8146;
}

/* 选择角色 */
.chooseBoxO{
    display: none;
    position: fixed;
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0 ,0, 0.2);  
}
.chooseBoxI{
    position: absolute;
    transition:all 0.3s;
    width: 0;
    height: 0;
    /* width: 620px;
    height: 520px; */
    top: 45%;
    left: 50%;
    background-color: #fff;
    transform: translate(-50%,-50%);
    border: 5px solid rgba(0,0, 0, 0.7);
    border-radius: 10px;
    box-shadow: inset 0 0 20px #000;
    box-sizing: content-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-between;
}
.roleCards{
    width: 100%;
    padding-right: 5px;
    overflow-y: scroll;
    max-height: 480;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex:1;
}
.roleCards::-webkit-scrollbar {
    /*滚动条整体样式*/
    width : 16px;  /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
.roleCards::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius   : 10px;
    background-color: skyblue;
    background-image: -webkit-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
}
.roleCards::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
    background   : #ededed;
    border-radius: 10px;
}
.roleCard{
    width: 140px;
    height: 180px;
    border: 1px solid rgba(0,0, 0, 0.7);
    border-radius: 10px;
    box-shadow: inset 0 0 5px #000;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 10px;
}
.active{
    box-shadow: 0 0 10px #000 inset,0 0 10px #000;
}
.roleCard:hover{
    box-shadow: 0 0 5px #000 inset,0 0 20px #000;
}
.roleCard .roleImg{
    margin-top: 35px;
    width:96px;
    height:84px;
    background:url(./../roleImg/1.png) no-repeat;
    background-position:0 0;  
    background-size: 384px auto;
}
.roleCard .roleName{
    line-height: 44px;
}
.addRole{
    width: 140px;
    height: 180px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    font-size: 40px;
    border: 1px solid #dbab44;
    box-shadow: inset 0 0 10px #dbab44;
    color: #dbab44;
}
.addRole:hover{
    box-shadow: 0 0 5px #dbab44 inset,0 0 20px #dbab44;
}
.enterGame{
    width: 250px;
    height: 66px;
    line-height: 66px;
    background-color: #f7c14d;
    border: 2px solid #daa941;
    box-shadow: inset 0 0 10px #b68929;
    text-shadow: 0 0 5px #b68929;
    border-radius: 15px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    margin-bottom: 20px;
}
.enterGame:hover{
    background-color: #e4ad36;
    box-shadow: 0 0 10px #6d5218;
    text-shadow: 0 0 5px #9e7826;
}
.enterGame:active{
    background-color: #f7c14d;
    box-shadow: inset 0 0 10px #b68929;
    text-shadow: 0 0 5px #b68929;
}
.chooseRole{
    position: absolute;
    width: 580px;
    visibility: hidden;
    height: 480px;
    top: 45%;
    left: 50%;
    background-color: #fff;
    transform: translate(-50%,-50%);
    border: 5px solid rgba(0,0, 0, 0.7);
    border-radius: 10px;
    box-shadow: inset 0 0 20px #000;
    box-sizing: content-box;
    padding: 20px;
    display: flex;
    align-items: center;
}
.leftBtn,.rightBtn{
    transform: scaleY(2);
    width: 40px;
    height: 40px;
    font-size: 28px;
    font-weight: bold;
    background-color: #eee;
    line-height: 37px;
    text-align: center;
    cursor: pointer;
}
.leftBtn:hover,.rightBtn:hover{
    background-color: rgb(170, 169, 169);
}
.centerCtx{
    flex:1;
    height:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.centerCtx .roleImg{
    margin-top: 30%;
    transform: scale(3,3);
    width:48px;
    height:42px;
    background:url(./../roleImg/1.png) no-repeat;
    background-position:0 0; 
}
.centerCtx .roleName{
    margin-top: -2%;
    font-size: 24px;
    font-weight: bold;
}
.centerCtx .userName{
    font-weight: bold;
    font-size: 20px;
}
.userName .roleNameInp{
    line-height: 44px;
    border-radius: 10px;
    outline:none;
    text-indent:10px;
    font-size: 20px;
}
.chooseRole .close{
    position: absolute;
    right: 10px;
    top: 0;
    width: 33px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border: 1px solid rgb(158, 154, 154);
    cursor: pointer;
    font-size: 20px; 
    color: #ca9d3d;
    transform: scaleX(1.5);   
}
.chooseRole .close:hover{
    background-color: rgb(236, 235, 235);
}
.chooseRole .close:active{
    background-color:  transparent;
}


